{template header_static.html}
<body>
    {template header.html}
    <!--内页大图开始-->
    <?php $neiyebanner=dr_site_value('neiyebanner');?>
    <?php if ($neiyebanner) { $key=0; foreach ($neiyebanner as $v) { ?>
    {if $key==4}
    <div class="nybanner" style="background-image: url({dr_get_file($v[2])});background-size:cover">
        <div class="w1200">
            <h3>{usu_fanyi($v[3], $language)}</h3>
            <span class="en">{usu_fanyi($v[4], $language)}</span> <span class="line"></span>
        </div>
    </div>
    {/if}
    <?php  $key++; } } ?> 
  <div class="wrapper">
    <!--栏目分类开始-->
    <div class="menu">
      <ul class="list clearfix">
      </ul>
    </div>
    <!--栏目分类结束-->
        <div class="sitepath w1200">
          <s class="nyIcon"></s>LOCAL: 
          <a href='/' class=''>Home</a>{dr_catpos($catid,'',true," &gt; <a href='[url]'>[name]</a>")} 
        </div>
    <!--单页内容开始-->
    <div class="content aboutPage clearfix" aos="fade-up" aos-easing="ease" aos-duration="700" aos-delay="100">
      <div class="txtcon">
        {usu_fanyi($content, $language)}
      </div>
      <?php $contactysp=dr_site_value('contactysp');?>
      <iframe src="{$contactysp}" style="width:100%;height: 400px;"  allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
    </div>
    <div class="content msgPage">
      <div class="online_title">
        <h3 class="tit">在线留言</h3>
        <p class="entit">ONLINE MESSAGE</p>
      </div>
      <div class="formData clearfix">         <form class="form_book" method="POST" enctype="multipart/form-data" action="/17571/index.php?m=home&c=Lists&a=gbook_submit&lang=cn" onsubmit="return checkForm();">
          <div class="item mr30 fl">
            <label>您的姓名：</label>
            <span class="red">*</span>
            <input class="txt" value="" type="text" id='attr_1' name='attr_1' placeholder="请输入您的姓名">
          </div>
          <div class="item fl">
            <label>您的电话：</label>
            <span class="red">*</span>
            <input class="txt" value="" type="text" id='attr_2' name='attr_2' placeholder="请输入您的电话">
          </div>
          <div class="item liuyan fl">
            <label for="address">备注：</label>
            <textarea class="txt" type="text" id='attr_3' name='attr_3' placeholder="请输入您想说的话"></textarea>
            <span class="red">*</span></div>
          <div class="itemsub fr">
            <input type="reset" value="重置" class="btn fr">
            <input type="submit" value="确定" class="btn fr">
          </div>
          <input type="hidden" name="gourl" id="gourl_a499134a1409415cf94f08e3228d0097" value="https%3A%2F%2Fdemoall.kuaituiyun.cn%2F17571"><input type="hidden" name="typeid" value="21"><input type="hidden" name="__token__a499134a1409415cf94f08e3228d0097" id="a499134a1409415cf94f08e3228d0097" value=""><script type="text/javascript">
    function submita499134a1409415cf94f08e3228d0097(elements)
    {
        if (document.getElementById('gourl_a499134a1409415cf94f08e3228d0097')) {
            document.getElementById('gourl_a499134a1409415cf94f08e3228d0097').value = encodeURIComponent(window.location.href);
        }
            var x = elements;
    for (var i=0;i<x.length;i++) {
        
                            if(x[i].name == 'attr_1' && x[i].value.length == 0){
                                alert('您的姓名不能为空！');
                                return false;
                            }
                        
                            if(x[i].name == 'attr_2' && x[i].value.length == 0){
                                alert('您的电话不能为空！');
                                return false;
                            }
                        
    }
        
        elements.submit();
    }

    function ey_fleshVerify_1696644203(id)
    {
        var token = id.replace(/verify_/g, '__token__');
        var src = "/17571/index.php?m=api&c=Ajax&a=vertify&type=guestbook&lang=cn&token="+token;
        src += "&r="+ Math.floor(Math.random()*100);
        document.getElementById(id).src = src;
    }

    function f4dedf50e9aefbe2668d7c9b6a27022d5()
    {
        var ajax = new XMLHttpRequest();
        ajax.open("post", "/17571/index.php?m=api&c=Ajax&a=get_token", true);
        ajax.setRequestHeader("X-Requested-With","XMLHttpRequest");
        ajax.setRequestHeader("Content-type","application/x-www-form-urlencoded");
        ajax.send("name=__token__a499134a1409415cf94f08e3228d0097");
        ajax.onreadystatechange = function () {
            if (ajax.readyState==4 && ajax.status==200) {
                document.getElementById("a499134a1409415cf94f08e3228d0097").value = ajax.responseText;
                document.getElementById("gourl_a499134a1409415cf94f08e3228d0097").value = encodeURIComponent(window.location.href);
          　}
        } 
    }
    f4dedf50e9aefbe2668d7c9b6a27022d5();
    function getNext1598839807(id,name,level) {
        var input = document.getElementById('attr_'+name);
        var first = document.getElementById('first_id_'+name);
        var second = document.getElementById('second_id_'+name);
        var third = document.getElementById('third_id_'+name);
        var findex ='', fvalue = '',sindex = '',svalue = '',tindex = '',tvalue = '',value='';

        if (level == 1){
            if (second) {
                second.style.display = 'none';
                second.innerHTML  = ''; 
            }
            if (third) {
                third.style.display = 'none';
                third.innerHTML  = '';
            }
            findex = first.selectedIndex;
            fvalue = first.options[findex].value;
            input.value = fvalue;
            value = fvalue;
        } else if (level == 2){
            if (third) {
                third.style.display = 'none';
                third.innerHTML  = '';
            }
            findex = first.selectedIndex;
            fvalue = first.options[findex].value;
            sindex = second.selectedIndex;
            svalue = second.options[sindex].value;
            if (svalue) {
                input.value = fvalue+','+svalue;
                value = svalue;
            }else{
                input.value = fvalue;
            }
        } else if (level == 3){
            findex = first.selectedIndex;
            fvalue = first.options[findex].value;
            sindex = second.selectedIndex;
            svalue = second.options[sindex].value;
            tindex = third.selectedIndex;
            tvalue = third.options[tindex].value;
            if (tvalue) {
                input.value = fvalue+','+svalue+','+tvalue;
                value = tvalue;
            }else{
                input.value = fvalue+','+svalue;
            }
        } 
        if (value) {
            if(document.getElementById(id))
            {
                document.getElementById(id).options.add(new Option('请选择','')); 
                var ajax = new XMLHttpRequest();
                //步骤二:设置请求的url参数,参数一是请求的类型,参数二是请求的url,可以带参数,动态的传递参数starName到服务端
                ajax.open("post", "/17571/index.php?m=api&c=Ajax&a=get_region", true);
                // 给头部添加ajax信息
                ajax.setRequestHeader("X-Requested-With","XMLHttpRequest");
                // 如果需要像 HTML 表单那样 POST 数据，请使用 setRequestHeader() 来添加 HTTP 头。然后在 send() 方法中规定您希望发送的数据：
                ajax.setRequestHeader("Content-type","application/x-www-form-urlencoded");
                //步骤三:发送请求+数据
                ajax.send("pid="+value);
                //步骤四:注册事件 onreadystatechange 状态改变就会调用
                ajax.onreadystatechange = function () {
                    //步骤五 如果能够进到这个判断 说明 数据 完美的回来了,并且请求的页面是存在的
                    if (ajax.readyState==4 && ajax.status==200) {
                        var data = JSON.parse(ajax.responseText).data;
                        if (data) {
                            data.forEach(function(item) {
                                document.getElementById(id).options.add(new Option(item.name,item.id)); 
                                document.getElementById(id).style.display = "block";
                            });
                        }
                  　}
                }
            }
        }
    }
</script>        </form>
         </div>
    </div>
    <!--单页内容结束-->
  </div>
  {template footer.html}
  <script src="{HOME_THEME_PATH}js/aos.js"></script>
  <script src="{HOME_THEME_PATH}js/app.js"></script>
  <script type="text/javascript">
    AOS.init({
      easing: 'ease-out-back',
      duration: 1000
    });
  </script>
</body>

</html>